From 86ba178e4fbf793fd2104e7b668da50b3921f94a Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 24 Oct 2006 16:46:02 +0100 Subject: [PATCH] Add x86_64 to the supported architectures since otherwise the tests don't run. Signed-off-by: Stefan Berger --- tools/xm-test/lib/XmTestLib/arch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/xm-test/lib/XmTestLib/arch.py b/tools/xm-test/lib/XmTestLib/arch.py index d5a1aa55cb..5625a53546 100644 --- a/tools/xm-test/lib/XmTestLib/arch.py +++ b/tools/xm-test/lib/XmTestLib/arch.py @@ -124,6 +124,7 @@ _uname_to_arch_map = { "i486" : "x86", "i586" : "x86", "i686" : "x86", + "x86_64": "x86_64", "ia64" : "ia64", "ppc" : "powerpc", "ppc64" : "powerpc", @@ -131,7 +132,7 @@ _uname_to_arch_map = { # Lookup current platform. _arch = _uname_to_arch_map.get(os.uname()[4], "Unknown") -if _arch == "x86" or _arch == "ia64": +if _arch == "x86" or _arch == "x86_64" or _arch == "ia64": minSafeMem = ia_minSafeMem getDefaultKernel = ia_getDefaultKernel checkBuffer = ia_checkBuffer -- 2.30.2